<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/common/common.jsp" %>

<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>校医院信息管理系统</title>
    <link rel="stylesheet" href="../plugins/layui/css/layui.css" media="all">
    <link rel="stylesheet" type="text/css" href="http://www.jq22.com/jquery/font-awesome.4.6.0.css">
    <link rel="stylesheet" href="../src/css/app.css" media="all">
    
	
</head>

<body>
    <div class="layui-layout layui-layout-admin kit-layout-admin">
        <div class="layui-header">
            <div class="layui-logo">校医院信息管理系统</div>
            <div class="layui-logo kit-logo-mobile">K</div>
            <ul class="layui-nav layui-layout-left kit-nav">
                <li class="layui-nav-item"><a href="javascript:;">控制台</a></li>
                <li class="layui-nav-item"><a href="javascript:;" id="pay"><i class="fa fa-gratipay" aria-hidden="true"></i> 捐赠我</a></li>
                <li class="layui-nav-item">
                    <a href="javascript:;">其它系统</a>
                    <dl class="layui-nav-child">
                        <dd><a href="javascript:;">邮件管理</a></dd>
                        <dd><a href="javascript:;">消息管理</a></dd>
                        <dd><a href="javascript:;">授权管理</a></dd>
                    </dl>
                </li>
            </ul>
            <ul class="layui-nav layui-layout-right kit-nav">
                <li class="layui-nav-item">
                    <a href="javascript:;">
                        <img src="<%=path%>/biz/SysUser_userFecePreview.action?fileFileName=${user.userImg}" class="layui-nav-img"> ${user.userRealName}
                    </a>
                    <dl class="layui-nav-child">
            			<dd><a href="javascript:;" kit-target data-options="{url:'<%=path%>/sys/SysUser_openUpdateInfo.action',icon:'&#xe658;',title:'更新个人资料',id:'66'}"><span>修改个人资料</span></a></dd>
                        <dd><a href="javascript:;" kit-target data-options="{url:'<%=path%>/sys/SysUser_openUpdatePassword.action',icon:'&#xe658;',title:'更新密码',id:'99'}"><span>修改登陆密码</span></a></dd>
                        <dd><a href="javascript:;">安全设置</a></dd>
                    </dl>
                </li>
                <li class="layui-nav-item"><a href="<%=path%>/logout"><i class="fa fa-sign-out" aria-hidden="true"></i> 注销</a></li>
            </ul>
        </div>

        <div class="layui-side layui-bg-black kit-side">
            <div class="layui-side-scroll">
                <div class="kit-side-fold"><i class="fa fa-navicon" aria-hidden="true"></i></div>
                <!-- 左侧导航区域（可配合layui已有的垂直导航） -->
                
                <!-- 挂号人员菜单 -->
                <ul class="layui-nav layui-nav-tree" lay-filter="kitNavbar" kit-navbar>
                	<li class="layui-nav-item">
	                        <a  class="" href="javascript:;"><i class="fa fa-plug" aria-hidden="true"></i><span> 信息查询</span></a>
	                        <dl class="layui-nav-child">
	                        <sec:authorize ifAnyGranted="studentConsult">
	                            <dd>
	                                <a href="javascript:;" kit-target data-options="{url:'<%=path%>/biz/Student_studentList.action',icon:'&#xe6c6;',title:'学生挂号记录查询',id:'1'}">
	                                <i class="layui-icon">&#xe609;</i><span> 挂号记录查询</span></a>
	                            </dd>
	                        </sec:authorize>
	                        <sec:authorize ifAnyGranted="treatConsult">
	                            <dd>
	                                <a href="javascript:;" kit-target data-options="{url:'<%=path%>/biz/Treat_treatList.action',icon:'&#xe6c6;',title:'学生诊疗记录查询',id:'2'}">
	                                    <i class="layui-icon">&#xe6af;</i><span> 诊疗记录查询</span></a>
	                            </dd>
	                        </sec:authorize>
	                        <sec:authorize ifAnyGranted="recipeConsult">
	                            <dd>
	                                <a href="javascript:;" data-url="<%=path%>/biz/Recipe_recipeList.action" data-icon="fa-user" data-title="学生诊疗处方查询" kit-target data-id='3'>
	                                <i class="fa fa-user" aria-hidden="true"></i><span> 处方记录查询</span></a>
	                            </dd>
							</sec:authorize>
							<sec:authorize ifAnyGranted="medicineConsult">
	                            <dd>
	                                <a href="javascript:;" data-url="<%=path%>/biz/Medicine_medicineList.action" data-icon="fa-user" data-title="药品信息" kit-target data-id='4'>
	                                <i class="fa fa-user" aria-hidden="true"></i><span> 药品信息查询</span></a>
	                            </dd>
	                        </sec:authorize>
	                        <sec:authorize ifAnyGranted="medFeeConsult">
	                            <dd>
	                                <a href="javascript:;" data-url="<%=path%>/biz/Recipe_openFeeOfMedList.action" data-icon="fa-user" data-title="学生药品费用记录" kit-target data-id='5'>
	                                <i class="fa fa-user" aria-hidden="true"></i><span> 学生药品费用查询</span></a>
	                            </dd>
	                        </sec:authorize>
	                        <sec:authorize ifAnyGranted="standardConsult">
	                            <dd>
	                                <a href="javascript:;" data-url="<%=path%>/biz/Standard_standardList.action" data-icon="fa-user" data-title="治疗费用标准记录" kit-target data-id='6'>
	                                <i class="fa fa-user" aria-hidden="true"></i><span> 治疗标准查询</span></a>
	                            </dd>
	                        </sec:authorize>    
	                        <sec:authorize ifAnyGranted="standFeeConsult">
	                            <dd>
	                                <a href="javascript:;" data-url="<%=path%>/biz/StandFee_standFeeList.action" data-icon="fa-user" data-title="学生治疗费用记录" kit-target data-id='7'>
	                                <i class="fa fa-user" aria-hidden="true"></i><span> 学生治疗费用查询</span></a>
	                            </dd>
	                        </sec:authorize> 
	                        <sec:authorize ifAnyGranted="feeConsult">
	                            <dd>
	                                <a href="javascript:;" data-url="<%=path%>/biz/Fee_feeList.action" data-icon="fa-user" data-title="学生交费记录" kit-target data-id='8'>
	                                <i class="fa fa-user" aria-hidden="true"></i><span> 学生交费记录查询</span></a>
	                            </dd>
	                        </sec:authorize>
	                        <sec:authorize ifAnyGranted="healthCareConsult">
	                            <dd>
	                                <a href="javascript:;" data-url="45645" data-icon="fa-user" data-title="医药费报销记录" kit-target data-id='16'>
	                                <i class="fa fa-user" aria-hidden="true"></i><span> 医药费报销查询</span></a>
	                            </dd>
	                        </sec:authorize>
	                        </dl>
	                </li>
                	<sec:authorize ifAnyGranted="studentManager">
	                    <li class="layui-nav-item">
	                        <a class="" href="javascript:;"><i class="fa fa-plug" aria-hidden="true"></i><span> 挂号管理</span></a>
	                        <dl class="layui-nav-child">
	                            <dd>
	                                <a href="javascript:;" kit-target data-options="{url:'<%=path %>/biz/Student_studentList.action',icon:'&#xe6c6;',title:'学生挂号',id:'1'}">
	                                    <i class="layui-icon">&#xe69c;</i><span> 学生挂号</span></a>
	                            </dd>
	                        </dl>
	                    </li>
                    </sec:authorize>
                    
                    <!-- 划价员菜单 -->
                    <sec:authorize ifAnyGranted="medicineManager,standardManager,feeManager">
	                    <li class="layui-nav-item">
	                        <a class="" href="javascript:;"><i class="fa fa-plug" aria-hidden="true"></i><span> 费用管理</span></a>
	                        <dl class="layui-nav-child">
	                        <sec:authorize ifAnyGranted="medicineManager">
	                            <dd>
	                                <a href="javascript:;" kit-target data-options="{url:'<%=path%>/biz/Medicine_medicineList.action',icon:'&#xe6c6;',title:'药品信息管理',id:'4'}">
	                                    <i class="layui-icon">&#xe600;</i><span> 药品管理</span></a>
	                            </dd>
	                        </sec:authorize>
	                        <sec:authorize ifAnyGranted="standardManager">    
	                            <dd>
	                                <a href="javascript:;" kit-target data-options="{url:'<%=path%>/biz/Standard_standardList.action',icon:'&#xe6c6;',title:'治疗费用标准管理',id:'6'}">
	                                <i class="fa fa-user" aria-hidden="true"></i><span> 治疗标准管理</span></a>
	                            </dd>
	                        </sec:authorize>
	                        <sec:authorize ifAnyGranted="standFeeManager"> 
	                         	<dd>
	                                <a href="javascript:;" kit-target data-options="{url:'<%=path%>/biz/StandFee_standFeeList.action',icon:'&#xe6c6;',title:'学生治疗费用管理',id:'7'}">
	                                <i class="fa fa-user" aria-hidden="true"></i><span>学生治疗费用管理</span></a>
	                            </dd>
	                        </sec:authorize>
	                        <sec:authorize ifAnyGranted="feeManager">    
	                            <dd>
	                                <a href="javascript:;" data-url="<%=path%>/biz/Fee_feeList.action" data-icon="fa-user" data-title="学生缴费管理" kit-target data-id='8'>
	                                <i class="fa fa-user" aria-hidden="true"></i><span> 学生缴费管理</span></a>
	                            </dd>
	                        </sec:authorize>
	                        </dl>
	                    </li>
                    </sec:authorize>
                    
                    <!-- 医师菜单 -->
                    <sec:authorize ifAnyGranted="treatManager,recipeManager">
	                    <li class="layui-nav-item">
	                        <a class="" href="javascript:;"><i class="fa fa-plug" aria-hidden="true"></i><span> 开始救世</span></a>
	                        <dl class="layui-nav-child">
	                        <sec:authorize ifAnyGranted="treatManager">
	                            <dd>
	                                <a href="javascript:;" kit-target data-options="{url:'<%=path%>/biz/Treat_treatList.action',icon:'&#xe6c6;',title:'学生诊疗管理',id:'2'}">
	                                    <i class="layui-icon">&#xe609;</i><span> 诊疗管理</span></a>
	                            </dd>
	                        </sec:authorize>
	                        <sec:authorize ifAnyGranted="recipeManager">
	                            <dd>
	                                <a href="javascript:;" data-url="<%=path%>/biz/Recipe_recipeList.action" data-icon="fa-user" data-title="学生处方单管理" kit-target data-id='3'>
	                                <i class="fa fa-user" aria-hidden="true"></i><span> 处方管理</span></a>
	                            </dd>
	                        </sec:authorize>    
	                        </dl>
	                    </li>
                    </sec:authorize>
                    
                    <!-- 财务人员菜单 -->
                    <sec:authorize ifAnyGranted="healthCareManager">
	                    <li class="layui-nav-item">
	                        <a class="" href="javascript:;"><i class="fa fa-plug" aria-hidden="false"></i><span> 报销管理</span></a>
	                        <dl class="layui-nav-child">
	                            <dd>
	                                <a href="javascript:;" kit-target data-options="{url:'eee.jsp',icon:'&#xe6c6;',title:'学生医药费报销记录',id:'16'}">
	                                    <i class="layui-icon">&#xe735;</i><span> 医药费报销管理</span></a>
	                            </dd>
	                        </dl>
	                    </li>
                    </sec:authorize>
                    
                    <!-- 系统菜单 -->
                    <sec:authorize ifAnyGranted="systemManager">
                    	<li class="layui-nav-item">
                    		<a class="" href="javascript:;"><i class="fa fa-plug" aria-hidden="false"></i><span> 系统管理</span></a>
	                        <dl class="layui-nav-child">
	                            <dd>
	                                <a href="javascript:;" kit-target data-options="{url:'eee.jsp',icon:'&#xe6c6;',title:'用户管理界面',id:'10'}">
	                                    <i class="layui-icon">&#xe735;</i><span> 用户管理</span></a>
	                            </dd>
	                            <dd>
	                                <a href="javascript:;" kit-target data-options="{url:'eee.jsp',icon:'&#xe6c6;',title:'角色管理界面',id:'11'}">
	                                    <i class="layui-icon">&#xe735;</i><span> 角色管理</span></a>
	                            </dd>
	                            <dd>
	                                <a href="javascript:;" kit-target data-options="{url:'eee.jsp',icon:'&#xe6c6;',title:'权限管理界面',id:'12'}">
	                                    <i class="layui-icon">&#xe735;</i><span> 权限管理</span></a>
	                            </dd>
	                        </dl>
                    	</li>
					</sec:authorize>
                </ul>
            </div>
        </div>
        <div class="layui-body" id="container">
            <!-- 内容主体区域 -->
            <div style="padding: 15px;">主体内容加载中,请稍等...</div>
		</div>
		
		<div class="layui-footer">
            <!-- 底部固定区域 -->
            2018.5.20 &copy;
            <a href="http://kit.zhengjinfan.cn/">技术由富民住宿点支持 /</a> MIT license

        </div>

    <script type="text/javascript">
        var cnzz_protocol = (("https:" == document.location.protocol) ? " https://" : " http://");
        document.write(unescape("%3Cspan id='cnzz_stat_icon_1264021086'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s22.cnzz.com/z_stat.php%3Fid%3D1264021086%26show%3Dpic1' type='text/javascript'%3E%3C/script%3E"));
    </script>
    <script src="../plugins/layui/layui.js"></script>
    <!-- 遵循 layui 的模块规范建立一个入口文件，并通过 layui.use() 方式来加载该入口文件 -->
    <script>
        var message;
        layui.config({
            base: '../src/js/'
        }).use(['app', 'message'], function() {
            var app = layui.app,
                $ = layui.jquery,
                layer = layui.layer;
            //将message设置为全局以便子页面调用
            message = layui.message;
            //主入口
            app.set({
                type: 'iframe'
            }).init();
            $('#pay').on('click', function() {
                layer.open({
                    title: false,
                    type: 1,
                    content: '<img src="http://timodong.cn:443/AttendanceSystem1/img/wx.png" />',
                    area: ['332px', '330px'],
                    shadeClose: true
                });
            });
        });
    </script>
	</div>
</body>

</html>